package com.example.line.step;

import com.example.line.step.service.SecondService;
import com.example.line.step.stage.AbstractStage;
import com.example.line.step.stage.StageConfig;
import lombok.RequiredArgsConstructor;

@StageConfig(name = "SecondStage")
@RequiredArgsConstructor
public class SecondStage extends AbstractStage<MyContext> {

    private final SecondService secondService;
    @Override
    protected MyContext executeBusinessLogic(MyContext context) {

        secondService.execute(context);


        return null;
    }
}
